<?php
namespace PsiFramework\Classes\Util\DAO;

import("Classes.Util.DAO.IFileDAO");

use \PsiFramework\Classes\Model\ModelInterface\IPrimitiveObject;
use \PsiFramework\Classes\Util\DAO\IPrimitiveObjectDAO;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 *
 *
 * @package DAO
 */
class ImageCollectionDAO implements IFileDAO
{

    protected static $_singleton = null;

    public function parse($value=null, $options=null)
    {

    }

    public function edit(
        IPrimitiveObject $object=null,
        $name=null,
        $options=null
    )
    {

    }

    public function display(IPrimitiveObject $object=null, $options=null)
    {

    }

    public function javascript(IPrimitiveObject $object=null, $options=null)
    {

    }

    /**
     * Function to be called instead of the constructor.
     *
     * @return     ImageCollectionDAO instance
     */
    public static function getInstance()
    {

        if (self::$_singleton==null) {
            self::$_singleton = new ImageCollectionDAO();
        }

        return self::$_singleton;
    }
}
